package homework;

public class Student {
    private String id;//学号
    private String name;//姓名
    private String numberOfCourses;
    private Course[] courses;//课程数组

    public Student() {
    }
    public Student(String id,String name,Course []courses){
        this.id = id;
        this.name = name;
        this.courses = courses;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getNumberOfCourses() {
        return numberOfCourses;
    }

    public void setNumberOfCourses(String numberOfCourses) {
        this.numberOfCourses = numberOfCourses;
    }

    public Course[] getCourses() {
        return courses;
    }

    public void setCourses(Course[] courses) {
        this.courses = courses;
    }

    }

